run:-new_engine([perms],perm([1,2,3],X),E),next(E),println(X),next(E),println(X),stop(E),next(E),println(after(X)).
